﻿using MediatR;
using RBAC_Class.ErrorCode;
using System.ComponentModel.DataAnnotations;

namespace RBAC_Class.Write.API.Application.Command.Permissions
{
    public class AddPermissionCommand:IRequest<APIResult<int>>
    {
        
        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionName { get; set; }
        /// <summary>
        /// 权限URL
        /// </summary>
        public string PermissionURL { get; set; }
        /// <summary>
        /// 父级权限ID
        /// </summary>
        public int ParentID { get; set; }
        
    }
}
